using System;
using System.Xml.Serialization;

namespace Se.Framework.Common.Config.Urls
{
    [Serializable]
    [XmlType("UrlPathStatic")]
    [XmlRoot(ElementName = "UrlPathStatic")]
    public class UrlPathStatic : UrlPathPart
    {
        [XmlAttribute]
        public override bool Required
        {
            get
            {
                return false;
            }
            set
            {
            }
        }

        public override UrlSection Clone()
        {
            return new UrlPathStatic
            {
                Key = Key,
                Order = Order,
                Required = Required,
                Value = Value
            };
        }
    }
}